package app.srong.service;

import app.srong.mapper.PracticeMapper;
import app.srong.vo.Practice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PracticeService {

    @Autowired
    PracticeMapper practiceMapper;


    /**
     * 打了一个字
     * @param practice 单词的相关信息
     */
    public void makeWord(Practice practice) {

        practiceMapper.insert(practice);
    }
}
